//  Android Carpool System
//  2011-2011
//  Author: Jinhuan Wang
//  name: d2spost.java
//  description: passager post a request to server 
//$history: /carpool/scr/com/DataExange/p2sRequest.java$
package com.dataexchange;

import java.sql.Date;

public class p2sRequest extends postData {
	private GeoPoint startPoint;
	private GeoPoint endPoint;
	private Date period;

	public void setStartPoint(GeoPoint startPoint) {
		this.startPoint = startPoint;
	}

	public GeoPoint getStartPoint() {
		return this.startPoint;
	}

	public void setEndPoint(GeoPoint endPoint) {
		this.endPoint = endPoint;
	}

	public GeoPoint getEndPoint() {
		return this.endPoint;
	}

	public Date getDate() {
		return this.period;
	}

	public void setDate(Date period) {
		this.period = period;
	}
}
